﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UplopadQCloudDemo.Models
{
    public class FileSet
    {

        [JsonProperty("fileId")]
        public string FileId { get; set; }

        [JsonProperty("fileName")]
        public string FileName { get; set; }

        [JsonProperty("fileIntro")]
        public string FileIntro { get; set; }

        [JsonProperty("size")]
        public string Size { get; set; }

        [JsonProperty("duration")]
        public string Duration { get; set; }

        [JsonProperty("status")]
        public string Status { get; set; }

        [JsonProperty("vid")]
        public string Vid { get; set; }

        [JsonProperty("createTime")]
        public string CreateTime { get; set; }

        [JsonProperty("updateTime")]
        public string UpdateTime { get; set; }

        [JsonProperty("classId")]
        public string ClassId { get; set; }

        [JsonProperty("className")]
        public string ClassName { get; set; }

        [JsonProperty("imageUrl")]
        public string ImageUrl { get; set; }

        [JsonProperty("tags")]
        public string[] Tags { get; set; }
    }

    public class VodInfoModel 
    {
        [JsonProperty("fileSet")]
        public List<FileSet> FileSet { get; set; }

        [JsonProperty("code")]
        public int Code { get; set; }

        [JsonProperty("message")]
        public string Message { get; set; }

        [JsonProperty("codeDesc")]
        public string CodeDesc { get; set; }
    }

}